#pragma once

#include <IXWindow.h>
#include <IXMsgListenSrv.h>

class ExportXSkinLib CSkinAppBase
{
public:
    CSkinAppBase(void);
    virtual ~CSkinAppBase(void);

public:
    virtual int Run();

    virtual BOOL InitInstance();
    virtual int  ExitInstance();

    void         SetMainFrame(IXWindow* pMainFrame);
    IXWindow*    GetMainFrame();

protected:
    virtual void RunMessageLoop();
    virtual BOOL PreTranslateMessage(MSG* pMsg);

protected:
    IXWindow*       m_pMainFrame;
};
